#include <iostream>
#include"head.h"
using namespace std;

int main()
{
    graph g;
    g.setEdge(1,2,6);
    g.setEdge(1,4,5);
    g.setEdge(1,3,1);
    g.setEdge(2,3,5);
    g.setEdge(2,5,3);
    g.setEdge(3,5,6);
    g.setEdge(3,4,5);
    g.setEdge(3,6,4);
    g.setEdge(4,6,2);
    g.setEdge(5,6,6);

    g.showBfs();

}
